<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>个人信息</title>
	<<link rel="stylesheet" type="text/css" href="Resources/css/amazeui.min.css" />
	<link rel="stylesheet" type="text/css" href="Resources/css/recharge.css" />
    <style>
    	.timg
    	{
    		width: 100%;
    		float: left;
    		margin-top:25px;
    		float: left;
    	}
    </style>
</head>
<body>
	<div id="all" style="width: 100%;">
    	<form action="listUser?status=myinfoupdate&uid=${user.uid }" method="post">
    		<div id="cz" style="width: 50%;margin-left: 30%;border: solid 1px #c3c3c3;float: left;height: 470px;">
	    		<div id="tfont"style="padding-top: 10px;width: 100%;float: left;border-bottom: solid 1px #c3c3c3;padding-bottom: 20px;">
	    			<font style="margin-left:3%;">修改个人信息</font>
	    		</div>
	    		<div class="timg">
	    			<font style="margin-left:3%;">亲爱的：</font><font size="4">${user.uname }</font><font>，请填写真实资料！</font>
	    		</div>
	    	    <div class="timg">
		    		<div id="ifont"style="width: 10%;float: left;margin-left: 3%;">
		    			<font>真实姓名：</font>
		    		</div>
		    		<div id="t1"style="float: left;">
		    	   		<input type="text" name="relname" value="${user.relName }" style="width: 300px;height: 30px;float: left;"/>
		    	   	</div>
	  	  		</div>
	    	    <div class="timg">
		    		<div id="ifont"style="width: 10%;float: left;margin-left: 3%;">
		    			<font>性别：</font>
		    		</div>
		    		<div id="t3"style="float: left;">
		    	    	<select name="sex">
	                   		<c:if test="${user.sex == '男'}" >
	                    		<option  value="男" selected="selected">男</option>
	                    		<option value="女">女</option>
	                    	</c:if>
	                        <c:if test="${user.sex == '女'}" >
	                    		<option value="女" selected="selected">女</option>
	                    		<option  value="男" >男</option>
	                    	</c:if>
	                    </select>
		    	   	</div>
	    	    </div>
	 	      	<div class="timg">
		    		<div id="ifont"style="width: 10%;float: left;margin-left: 3%;">
		    			<font>邮箱：</font>
		    		</div>
		    		<div id="t3"style="float: left;">
		    	    	<input type="text" name="utel" value="${user.email }" style="width: 300px;height: 30px;float: left;"/>
		    	   </div>
	    	    </div>
	    	    <div class="timg">
		    		<div id="ifont"style="width: 10%;float: left;margin-left: 3%;">
		    			<font>收货地址：</font>
		    		</div>
		    		<div id="t3"style="float: left;">
		    	    	<input type="text" name="address" value="${user.address }" style="width: 300px;height: 30px;float: left;"/>
		    	   	</div>
	    	    </div>
	    	    <div class="timg">
		    		<div id="ifont"style="width: 10%;float: left;margin-left: 3%;">
		    			<font>联系电话：</font>
		    		</div>
		    		<div id="t3"style="float: left;">
		    	    	<input type="text" name="utel" value="${user.telephone }" style="width: 300px;height: 30px;float: left;"/>
		    	   	</div>
	    	    </div>

	    	    <div id="hr" style="width: 100%;border-bottom: solid #c3c3c3 1px;float: left;margin-top: 30px;">
	    		</div>
	    	    <div id="button" style="width: 80%;margin-top: 10px;float: left;padding-left: 15%;">
	    	    	<input type="submit" value="保存修改" style="width:10%;height:30px ;"/>
	    	    </div>
   	     	</div>	
    	</form>
   	</div>
</body>
</html>